package com.heu.blood.autologous.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.heu.blood.common.utils.PageUtils;
import com.heu.blood.common.utils.Query;

import com.heu.blood.autologous.dao.BloodOutStorgeAutologousDao;
import com.heu.blood.autologous.entity.BloodOutStorgeAutologousEntity;
import com.heu.blood.autologous.service.BloodOutStorgeAutologousService;


@Service("bloodOutStorgeAutologousService")
public class BloodOutStorgeAutologousServiceImpl extends ServiceImpl<BloodOutStorgeAutologousDao, BloodOutStorgeAutologousEntity> implements BloodOutStorgeAutologousService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<BloodOutStorgeAutologousEntity> page = this.page(
                new Query<BloodOutStorgeAutologousEntity>().getPage(params),
                new QueryWrapper<BloodOutStorgeAutologousEntity>()
        );

        return new PageUtils(page);
    }

}